<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<% 
	if(session.getAttribute("loginUser") == null){
		response.sendRedirect("login.jsp");
	}
%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<form action="bookServlet.do" method="POST">
		书名:<input type="text" name="bookName"><br>
		作者:<input type="text" name="bookWriter"><br>
		库存:<input type="text" name="bookNum"><br> ${msg}
			<input type="hidden" name="opt" value="1">
		<input type="submit" value="添加">
	</form>
</body>
</html>